<?php
class MeituController extends CController{
	public function actionList(){
	$array = array(
			'code'=>1,
			'data '=>array(
			'imageHeight '=>40,
			'imageID '=>1,
			'imageURL' => 'http://img2.trends.com.cn/upload/110421/1104210905512364.jpg',
			'imageWidth'=> 140,
		),
		);	
		$key = '0d291452bc581a021494f7b4bdbb3d5d';
		$apptk = isset($_GET['apptk']) ? $_GET['apptk']:'';
		if ($apptk !='' && $key == $apptk){
			echo json_encode($array);
		}else {
			$array =array(
				'code'=>0,
				'msg'=>'秘钥有误',
			);
			echo json_encode($array);
		}
	}
}